var exec = require('cordova/exec');

var FFMpeg = {
    exec: function (cmd, successCallback, errorCallback) {
        exec(successCallback, errorCallback, "FFMpeg", "exec", [cmd]);
    },
    stop: function (arg0, successCallback, errorCallback) {
        exec(successCallback, errorCallback, "FFMpeg", "stop", [arg0]);
    }
};

module.exports = FFMpeg;
